package com.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.entity.Address;
import com.entity.Customer;

public interface CustomerMapper {
    public int addCustomer(Customer customer);
    
    public int deleteCustomer(@Param("id")int id);
    
    public int updateCustomer(Customer customer);
    
    public List<Customer> selectCustomer();
    
    @Select("select * from t_address")
    public List<Address> selectAddress();
}
